import request from '@/utils/request';

export function getXhReservationList(data) {
  return request({
    url: '/XhReservation/GetXhReservationList',
    method: 'post',
    data
  });
}

export function getXhReservationInfo(data) {
  return request({
    url: '/XhReservation/GetXhReservationInfo?XhReservationDataID=' + data,
    method: 'get'
  });
}

export function saveXhReservationInfo(data) {
  return request({
    url: '/XhReservation/SaveXhReservationInfo',
    method: 'post',
    data
  });
}
export function setXhReservationState(data) {
  return request({
    url: '/XhReservation/setXhReservationState',
    method: 'post',
    data
  });
}